<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div th:fragment="headmenu">
<div class="col-md-2" >
    <ul class="nav nav-pills nav-stacked" id="nav" >
        <li><a th:href="@{/user/personal}">个人信息<span class="glyphicon glyphicon-pencil pull-right"/></a></li>
        <li><a href="${pageContext.request.contextPath}/logout">退出登录<sapn class="glyphicon glyphicon-log-out pull-right" /></a></li>

    </ul>
</div>
</div>
</body>
</html>